async function getLocalToken(){
  try {
    let {data:token} = await wx.getStorage({
      key:"token"
    })

    return token
  } catch (error) {
    // 说明本地token不存在
    return Promise.reject("localToken is null")
  }
}

export default getLocalToken